package com.dj.xbirdie.entity;

import org.eclipse.paho.client.mqttv3.MqttMessage
import java.util.*

class HistoryEntity(
   var  date: Date,
   var  topic: String,
   var message: MqttMessage
) {
    companion object{
        var no=0;
    }
    init {
        no=no+1
    }
    var num= no;
    var payload:String="payload";
}
